<!--{assign var="menu_id" value="gift"}-->
<!--{include file="<!--{$oetplpath}-->block_header.tpl"}--> 
<!--{include file="<!--{$oetplpath}-->block_top.tpl"}-->
<!--{include file="<!--{$oetplpath}-->block_banner.tpl"}-->
<div class="oe_inmain"> 
  <!--{include file="<!--{$oetplpath}-->block_left.tpl"}-->
  <div class="right">
    <div class="oe_ufriend">
      <div class="oe_unav"> 我的礼物 </div>
      <div class="oe_utitle">
        <ul>
          <li><a href="<!--{$oefile}-->&c=giftme" class="current">收到礼物</a></li>
		  <li><a href="<!--{$oefile}-->&c=giftto">送出礼物</a></li>
        </ul>
        <div class="clear"></div>
      </div>
      
      <div class="giftme_list">

        <div class="total_tips">
          <p class="text">
            共收到 <b><!--{$total}--></b> 个礼物<br>
			你也去送朋友们一些礼物吧！~
          </p>
          <div class="btn">
            <span class="span_2"><a href="<!--{routeurl module='user'}-->">去看看</a></span>
          </div>
		  <div class="clear"></div>
        </div>

		<!--{if empty($giftme)}-->
        <div class="oe_nodata">
          <p class="p_1"><img src="<!--{$userskin}-->images/nodata.jpg" /></p>
          <p class="p_2">没有符合条件的信息！</p>
        </div>
		<!--{else}-->
        <div class="bd">
          <!--{foreach $giftme as $volist}-->
          <dl>
            <dt>
              <img src="<!--{$volist.imgurl}-->" />
              <p><!--{$volist.giftname}--></p>
            </dt>
            <dd>
              <h3>
                <span><a href="<!--{$volist.homeurl}-->" target="_blank"><img src="<!--{$volist.headimg}-->" /></a></span>
                <a class="username" href="<!--{$volist.homeurl}-->" target="_blank"><!--{$volist.username}--></a>
                
				<!--{if $volist.isonline == '1'}-->
                <em></em>
				<!--{/if}-->
                <label>
				<!--{$volist.age}-->岁 
				<!--{area type="text" value=$volist.dist1}--> <!--{area type="text" value=$volist.dist2}-->
				<!--{if $volist.height > 0}-->
				<!--{$volist.height}-->CM
				<!--{/if}-->
				<!--{hook mod="var" item="marry" type="text" value=$volist.marry}-->
                </label>
                <b><!--{$volist.sendtime|date_format:"%Y/%m/%d %H:%M"}--></b>
			  </h3>
			  <p class="p_2">
			    <span class="span_1 cursor" f="pop_send_msg" data-touid="<!--{$volist.fromuid}-->"><i></i>发私信</span>
				<span class="span_3 cursor" f="pop_send_gift" data-touid="<!--{$volist.fromuid}-->"><i></i>回赠礼物</span>
			  </p>
			  <p class="p_3"><!--{$volist.message}--></p>
            </dd>
            <div class="clear"></div>
          </dl>
          <!--{/foreach}-->
          <div class="clear"></div>
        </div>
		<!--//bd End-->

		<!--{if $total > 0 && !empty($showpage)}-->
		<div class="oe_page"> <!--{$showpage}--> </div>
		<!--{/if}-->
		<!--{/if}-->

      </div>
	  <!--//giftme_list End-->
      
    </div>
  </div>
  <div class="clear"></div>
</div>

<!--{include file="<!--{$oetplpath}-->block_footer.tpl"}-->
</body>
</html>